package com.dhecp.core.enums;

/**
 * SQL查询条件类型
 * @author DH-Xxj
 * @version 2019年10月21日
 */
public enum SQLConditionsType {

	T_System("t_system","按系统设置"),
	T_BothLike("t_bothlike","左右模糊"),
	T_LeftLike("t_leftlike","左模糊"),
	T_RightLike("t_rightlike","右模糊"),
	T_Between("t_between","区间"),
	T_In("t_in","包含"),
	T_Equal("t_equal","相等"),
	T_UnEqual("t_unequal","不等"),
	T_Greater("t_greater","大于"),
	T_Smaller("t_smaller","小于"),
	T_UnGreater("t_ungreater","不大于"),
	T_UnSmaller("t_unsmaller","不小于"),
	T_CheckCondition("t_checkcondition","钩选查询条件"),
	T_Ignore("t_ignore","忽略组装的条件");

    private String code;
    private String info;

    SQLConditionsType(String code, String info){
        this.code = code;
        this.info = info;
    }

    public String getCode(){
        return code;
    }

    public String getInfo(){
        return info;
    }
}
